package model

import "gorm.io/gorm"

type Examines struct {
	gorm.Model
	UserId         int    `gorm:"type:int;index;not null;comment:'用户Id'"`
	VideoId        int    `gorm:"type:int;index;not null;comment:'视频Id'"`
	ExamineStatus  int    `gorm:"type:int;default:0;not null;comment:'状态:1-审核通过 2-审核失败'"`
	ReviewRejected string `gorm:"type:varchar(30);not null;comment:'审核驳回'"`
}

func (e *Examines) TableName() string {
	return "examines"
}
